#ifndef __LUA_DISSECT_H
#define __LUA_DISSECT_H

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

struct _lua_dissector;
typedef struct _lua_dissector lua_dissector_t;

lua_dissector_t *lua_dissect_new(void);
int lua_dissect_init(lua_dissector_t *ldt);
int lua_dissect_run(lua_dissector_t *ldt, tvbuff_t *tvb);
void lua_dissect_cleanup(lua_dissector_t *ldt);
void lua_dissect_free(lua_dissector_t *ldt);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif // __LUA_DISSECT_H
